package com.peas.platform.module.icims.budget.apply.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.BudgetOneCollectRelationRepository;
import com.peas.platform.module.icims.budget.apply.adapter.repository.po.BudgetOneCollectRelationPo;
import com.peas.platform.module.icims.budget.apply.domain.BudgetOneCollectRelationDomain;
import com.peas.platform.module.icims.budget.apply.dto.BudgetOneCollectRelationDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetOneCollectRelationDomainImpl extends BaseDomainImpl<BudgetOneCollectRelationDto, BudgetOneCollectRelationPo> implements BudgetOneCollectRelationDomain {

    @Resource
    private BudgetOneCollectRelationRepository budgetOneCollectRelationRepository;

    @Override
    public BaseRepository<BudgetOneCollectRelationPo> getMapper() {
        return budgetOneCollectRelationRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetOneCollectRelationPo>> getRepositoryClass() {
        return BudgetOneCollectRelationRepository.class;
    }

}
